package cn.tedu.spring;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class UserController {

    @Autowired(required = false)
    public UserMapper subUserMapper;

    public void reg() {
        System.out.println("UserController.reg()");
        subUserMapper.insert();
    }

}
